package com.xcx.commonuntils.returnuntls;


public enum ErrorEnum {
    E_SUCCESS(0, "请求成功"),
    E_SYSTEM_BUSY(-1, "系统繁忙"),

    E_VIDEO_SYSTEM_BUSY(-2, "流媒体系统繁忙"),
    E_REQUEST_PARAM_ERROR(-3, "参数校验错误"),
    E_REQUEST_PARAM_ERRORJSON(-4, "参数校验错误"),
    E_REGISTER_PARAM_ERROR(-1001, "未选择注册方式"),
    E_REGISTER_OPENID_ERROR(-1002, "注册未授权"),
    E_REGISTER_OPENID_EXIT(-1003, "该用户已注册"),
    E_REGISTER_MOBILE_EXIT(-1004, "用户已注册"),
    E_REGISTER_TYPE_ERROR(-1005, "注册类型错误"),
    E_LOGIN_ERROR(-1006, "未注册或已被禁用"),
    E_REMOVE_USER(-1007, "人员已删除无需删除"),

    E_EDU_DELETE_MSM(-2001,"短信发送失败请重试"),
    E_UCENTER_CODE_FAIL(-2002,"您还未获取验证码"),
    E_USER_BASE_ERROR(-2003,"未查询到该用户信息请检查账号是否正确"),
    E_USER_FILES_ERRO(-5001,"该用户还未上传相关信息"),

    E_FEIGN_RESUME(4001,"远程调用用户服务插入图片头像路径错误"),


    E_FILEUSER_NOTEXIT(30003,"用户不存在"),
    E_FILE_UPLOADS_FAIL(30001, "上传文件不能为空"),
    E_FILE_REMOVE_FAIL(30002,"删除文件失败");

    private Integer errorCode;
    private String errorMsg;

    ErrorEnum(Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
}
